package com.jianggy.date;

import java.math.BigDecimal;

/**
 * @author jianggy
 * @version 1.0
 * @time 2019/7/3 18:26
 * @see
 **/
public class Test {
    public static void main(String[] args){
        BigDecimal bigDecimal = new BigDecimal("-100");
        bigDecimal = bigDecimal.setScale(4,BigDecimal.ROUND_HALF_UP);
        System.out.println(bigDecimal);
    }

}
